Add a little coffee to your Javascript :: 128bit.io (
128bit.io)
So for my posting forProject Euler 001, the Javascript code kind of upset me. It's not nice to look at and doesn't really solve the problem in a functional way. WithJavascript being afunctional programminglanguage it didn't sit well with me. Comparing the Javascript code to the Groovy and Ruby code there is one thing missing and it is the 'Range' type call. If I could have a call like that I could use some other calls like filter and reduce to get the same outcome.